import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";
import router from "./router";
import "./assets/styles/index.scss"; // global css
import "@/mock";

// 空标签
import Fragment from "vue-fragment";
import VTable from "@/components/VTable/index.vue";
import VForm from "@/components/VTable/form.vue";
import VSearch from "@/components/VTable/search.vue";

Vue.config.productionTip = false;

Vue.use(Fragment.Plugin);
Vue.use(ElementUI);
Vue.component("VTable", VTable);
Vue.component("VForm", VForm);
Vue.component("VSearch", VSearch);

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
